<!--****************************************************************************************************************-->

<!--=========================================================== THEME OPTIONS START HERE ===========================-->

<!--****************************************************************************************************************-->
<?php
// If denzi module is enabled
if($this->config->get('status')== 1) { ?>
   <!--
    <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=<?php echo $this->config->get('body_font'); ?>">
    <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=<?php echo $this->config->get('title_font'); ?>">
    <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=<?php echo $this->config->get('button_font'); ?>">
    <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=<?php echo $this->config->get('category_font'); ?>">
    <link rel="stylesheet" hruef="http://fonts.googleapis.com/css?family=<?php echo $this->config->get('menu_font'); ?>">
    <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=<?php echo $this->config->get('product_font'); ?>">
    <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=<?php echo $this->config->get('price_font'); ?>">
    <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=<?php echo $this->config->get('boxheading_font'); ?>">
        -->
<style>			
/********************************************
*********************************************

                Background/Patterns

*********************************************
********************************************/
        
        /** Body background image/pattern/color **/
        body {
            <?php if($this->config->get('background_color')!='') { ?>
            	background: <?php echo $this->config->get('background_color'); ?>;
                background-color: <?php echo $this->config->get('background_color'); ?>;
            <?php } 

            if (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off') $path_image = HTTPS_IMAGE;
            else $path_image = HTTP_IMAGE;

            if($this->config->get('custom_image')!='') { ?>
                background-image: url("<?php echo $path_image . $this->config->get('custom_image') ?>"); ?>;
                background-position: top center;
                background-repeat: no-repeat;
                background-attachment: fixed;
            <?php } else if($this->config->get('custom_pattern')!='') { ?>
                background-image: url("<?php echo $path_image . $this->config->get('custom_pattern') ?>"); ?>;
                background-attachment: scroll;
            <?php } else if($this->config->get('pattern_overlay')!='none') { ?>
                background-image: url("catalog/view/theme/denzi/image/patterns/<?php echo $this->config->get('pattern_overlay'); ?>.png");
                background-attachment: scroll;
            <?php } else { ?>
                /*background-image: none;*/
            <?php } ?>

        }


        /** Container background image/pattern/color **/
        .container {
            <?php if($this->config->get('background_color_cont')!='') { ?>
            	background: <?php echo $this->config->get('background_color_cont'); ?>;
                background-color: <?php echo $this->config->get('background_color_cont'); ?>;
            <?php } 

            if (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off') $path_image = HTTPS_IMAGE;
            else $path_image = HTTP_IMAGE;

            if($this->config->get('custom_image_cont')!='') { ?>
                background-image: url("<?php echo $path_image . $this->config->get('custom_image_cont') ?>"); ?>;
                background-position: top center;
                background-repeat: no-repeat;
				background-attachment: fixed;
            <?php } else if($this->config->get('custom_pattern_cont')!='') { ?>
                background-image: url("<?php echo $path_image . $this->config->get('custom_pattern_cont') ?>"); ?>;
            <?php } else if($this->config->get('pattern_cont')!='none') { ?>
                background-image: url("catalog/view/theme/denzi/image/patterns/<?php echo $this->config->get('pattern_cont'); ?>.png");
            <?php } else { ?>
                /*background-image: none;*/
            <?php } ?>
        }
           <?php 
/********************************************
*********************************************

		 Colors / Background colors

*********************************************
********************************************/
        /**========================================================================================================================**/
        /*//////////////////////////////////////////////////////////////////////////////////////////////////////////// Header area **/
		/**========================================================================================================================**/		
        /** First Theme Color (Top bar) **/
        if($this->config->get('thickbar_color')!='') { ?>
            #topBar {
                background-color: <?php echo $this->config->get('thickbar_color'); ?>;
            }
        <?php } 
        /** Top bar text color **/
        if($this->config->get('welcome_text_color')!='') { ?>
            #topBar, .dropdown .selected {
                color: <?php echo $this->config->get('welcome_text_color'); ?>;
            }
        <?php } 
		if($this->config->get('welcome_text_color')!='') { ?>
			.dropdown .carat {
				border-top: 5px solid <?php echo $this->config->get('welcome_text_color'); ?>;
			}
			.dropdown.open .carat {
				border-bottom: 5px solid <?php echo $this->config->get('welcome_text_color'); ?>;
			}
		<?php } 
		/** Top bar links color **/
        if($this->config->get('thickbar_links_color')!='') { ?>
            #topBar a {
                color: <?php echo $this->config->get('thickbar_links_color'); ?>;
            }
			.dropdown li.focus {
				background: <?php echo $this->config->get('thickbar_links_color'); ?>;
			}
        <?php }
        /** Top bar links color **/
        if($this->config->get('drop_bg')!='') { ?>
            .drop{
                background: <?php echo $this->config->get('drop_bg'); ?>;
            }
        <?php }
        /**========================================================================================================================**/
        /*//////////////////////////////////////////////////////////////////////////////////////////////////////////// Blocks area **/
		/**========================================================================================================================**/
		/** block bg **/
        if($this->config->get('block_bg_color')!='') { ?>
            #topBlocks {
                background: <?php echo $this->config->get('block_bg_color'); ?>;
            }
        <?php } 		
        /** block title **/
        if($this->config->get('block_title_color')!='') { ?>
            .topBlocks li h4 {
                color: <?php echo $this->config->get('block_title_color'); ?>;
            }
        <?php } 
        /** block desc **/
        if($this->config->get('block_desc_color')!='') { ?>
            .topBlocks li a span {
                color: <?php echo $this->config->get('block_desc_color'); ?>;
            }
        <?php } 
		/**========================================================================================================================**/
		/*///////////////////////////////////////////////////////////////////////////////////////////////////////////////// Search **/
		/**========================================================================================================================**/
		/** Search bar Bg **/
		if($this->config->get('search_bg')!='') { ?>
            header #search, header #search input {
                background: <?php echo $this->config->get('search_bg')?>;
            }
        <?php } 
		/** Search bar Border color **/
		if($this->config->get('search_border')!='') { ?>
            header #search {
                border: 1px solid <?php echo $this->config->get('search_border')?>;
            }
        <?php } 
		/** Categories select Bg **/
		if($this->config->get('categories_select_bg')!='') { ?>
            .custom-select-menu {
                background: <?php echo $this->config->get('categories_select_bg')?>;
            }
        <?php } 
		/** Categories select color **/
		if($this->config->get('categories_select_color')!='') { ?>
            .custom-select-menu label {
                color: <?php echo $this->config->get('categories_select_color')?>;
            }
			.custom-select-menu label:after {
				border-top: 4px solid <?php echo $this->config->get('categories_select_color')?>;
			}
        <?php } 
		/** Button search bg **/
		if($this->config->get('btn_search_bg')!='') { ?>
            header .button-search {
                background: <?php echo $this->config->get('btn_search_bg')?>;
            }
        <?php } 
		/** Button search color **/
        if($this->config->get('btn_search_color')!='') { ?>
            header .button-search {
                color: <?php echo $this->config->get('btn_search_color')?>;
            }
        <?php } 
		/**========================================================================================================================**/
		/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////// cart **/
		/**========================================================================================================================**/
        /** cart title **/
        if($this->config->get('cart_title_color')!='') { ?>
            header #cart .heading h4 {
                color: <?php echo $this->config->get('cart_title_color'); ?>;
            }
        <?php } 
        /** cart desc **/
        if($this->config->get('cart_desc_color')!='') { ?>
            header #cart .heading a {
                color: <?php echo $this->config->get('cart_desc_color'); ?>;
            }
        <?php } 
		/**========================================================================================================================**/
        /*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////// Menu **/
		/**========================================================================================================================**/
        /** Menu background **/
        if($this->config->get('menu_background')!='') { ?>
            #menu {
                background: <?php echo $this->config->get('menu_background'); ?>;
            }
        <?php } 
        /** Menu Links **/
        if($this->config->get('menu_color')!='') { ?>
            #menu > ul > li > a {
                color: <?php echo $this->config->get('menu_color'); ?>;
            }
        <?php }  	
        /** Menu Links :hover **/
        if($this->config->get('menu_color_hover')!='') { ?>
            #menu > ul > li:hover > a {
                background: <?php echo $this->config->get('menu_color_hover'); ?>;
            }
        <?php }	
		/** Dropdown menu background **/
		if($this->config->get('drop_menu_bg')!='') { ?>
            #menu > ul > li > div {
                background: <?php echo $this->config->get('drop_menu_bg'); ?>;
            }
        <?php }	
		/** Dropdown menu border **/
		if($this->config->get('drop_menu_border')!='') { ?>
            #menu > ul > li > div {
                border: 1px solid <?php echo $this->config->get('drop_menu_border'); ?>;
            }
        <?php }	
        /** Sub Menu Links **/
        if($this->config->get('smenu_color')!='') { ?>
            #menu > ul > li ul > li > a {
                color: <?php echo $this->config->get('smenu_color'); ?>;
            }
        <?php } 
        /** Sub Menu Links :hover **/
        if($this->config->get('smenuh_color')!='') { ?>
            #menu > ul > li ul > li > a:hover {
                background: <?php echo $this->config->get('smenuh_color'); ?>;
            }
        <?php }  
        /**========================================================================================================================**/
        /*/////////////////////////////////////////////////////////////////////////////////////////////////////////////// Pav Menu **/
		/**========================================================================================================================**/
		/** Menu bg **/
        if($this->config->get('pav_menu_bg')!='') { ?>
            .navbar-inverse .navbar-inner {
                background: <?php echo $this->config->get('pav_menu_bg'); ?>;
                background-color: <?php echo $this->config->get('pav_menu_bg'); ?>;
            }
        <?php }  
        /** Menu links color **/
        if($this->config->get('pav_links_color')!='') { ?>
             .navbar .nav > li > a {
                color: <?php echo $this->config->get('pav_links_color'); ?>;
            }
        <?php }  
        /** Links color on hover **/
        if($this->config->get('pav_links_color_hover')!='') { ?>
            .navbar .nav > li > a:focus, .navbar .nav > li > a:hover {
                color: <?php echo $this->config->get('pav_links_color_hover'); ?>;
            }
        <?php }  
        /** Links description color **/
        if($this->config->get('pav_desc_color')!='') { ?>
             .menu-desc {
                color: <?php echo $this->config->get('pav_desc_color'); ?>;
            }
        <?php }  
        /** pav arrow color **/
        if($this->config->get('pav_arrow_color')!='') { ?>
            .navbar-inverse .nav li.dropdown > .dropdown-toggle .caret {
                border-top-color: <?php echo $this->config->get('pav_arrow_color'); ?>;
				border-bottom-color: <?php echo $this->config->get('pav_arrow_color'); ?>;
            }
        <?php }  
        /** pav sub menu bg **/
        if($this->config->get('pav_submenu_bg')!='') { ?>
            .dropdown-menu {
                background-color: <?php echo $this->config->get('pav_submenu_bg'); ?>;
            }
        <?php } 
        if($this->config->get('pav_submenu_bg')!='') { ?>
            .navbar .nav > li > .dropdown-menu:after {
                border-bottom: 6px solid <?php echo $this->config->get('pav_submenu_bg'); ?>;
            }
        <?php }  
        
        /** Sub menu internal titles **/
        if($this->config->get('pav_sub_title_color')!='') { ?>
            .megamenu .mega-group > a .menu-title {
                color: <?php echo $this->config->get('pav_sub_title_color'); ?>;
            }
        <?php }  
        /** sub menu links color **/
        if($this->config->get('pav_sub_links_color')!='') { ?>
            .dropdown-menu a .menu-title {
                color: <?php echo $this->config->get('pav_sub_links_color'); ?>;
            }
        <?php }  
        /** sub menu links color on hover **/
        if($this->config->get('pav_sub_links_color_hover')!='') { ?>
            .dropdown-menu a:hover .menu-title {
                color: <?php echo $this->config->get('pav_sub_links_color_hover'); ?>;
            }
        <?php }  
        /** sub menu description color **/
        if($this->config->get('pav_sub_desc_color')!='') { ?>
            .dropdown-menu .menu-desc {
                color: <?php echo $this->config->get('pav_sub_desc_color'); ?>;
            }
        <?php }  
        /** sub menu separate line color **/
        if($this->config->get('pav_sub_separate_color')!='') { ?>
            .mega-col-inner ul li + li {
                border-top: 1px solid <?php echo $this->config->get('pav_sub_separate_color'); ?>;
            }
        <?php }  
		/**========================================================================================================================**/
        /*////////////////////////////////////////////////////////////////////////////////////////////////////////////////category **/
		/**========================================================================================================================**/
        /** Category heading background **/
        if($this->config->get('category_heading_bg')!='') { ?>
            .category .box-heading {
                background: <?php echo $this->config->get('category_heading_bg'); ?>  !important;
            }
        <?php }
        /** Category heading border **/
        if($this->config->get('category_heading_border')!='') { ?>
            .category .head-arrow {
                border-left: 1px solid <?php echo $this->config->get('category_heading_border'); ?>  !important;
				color: <?php echo $this->config->get('category_heading_border'); ?> !important;
            }
        <?php } 
        /** Category heading color **/
        if($this->config->get('category_heading_color')!='') { ?>
            .category .box-heading {
                color: <?php echo $this->config->get('category_heading_color'); ?> !important;
            }
        <?php } 
		/** Category box bg **/
        if($this->config->get('category_box_bg')!='') { ?>
            .category .box-content {
                background: <?php echo $this->config->get('category_box_bg'); ?> !important;
            }
        <?php } 
		/** Category box border **/
        if($this->config->get('category_box_border')!='') { ?>
            .category .box-content {
                border-left: 1px solid <?php echo $this->config->get('category_box_border'); ?> !important;
				border-right: 1px solid <?php echo $this->config->get('category_box_border'); ?> !important;
				border-bottom: 1px solid <?php echo $this->config->get('category_box_border'); ?> !important;
            }
        <?php } 
        /** Category Links color **/
        if($this->config->get('category_link_color')!='') { ?>
            .box-category > ul > li > a, .box-category > ul > li a.active, .box-category > ul > li ul > li > a, ul.box-category > li > a, ul.box-category > li ul > li > a, .mainMenu li a {
                color: <?php echo $this->config->get('category_link_color'); ?>;
            }
        <?php }
        /** Category Links color on hover **/
        if($this->config->get('category_link_color_hover')!='') { ?>
            .box-category > ul > li > a:hover, .box-category > ul > li ul > li > a:hover, ul.box-category > li > a:hover, ul.box-category > li ul > li > a:hover, .mainMenu li a:hover {
                color: <?php echo $this->config->get('category_link_color_hover'); ?>;
            }
        <?php } 
		/** Category Lines between links **/
        if($this->config->get('category_lines_color')!='') { ?>
            .box-category > ul > li + li, ul.box-category > li + li, .mainMenu li + li {
                border-top: 1px solid <?php echo $this->config->get('category_lines_color'); ?>;
            }
        <?php }
        /**========================================================================================================================**/
        /*////////////////////////////////////////////////////////////////////////////////////////////////////// Amazon categories **/
		/**========================================================================================================================**/
		/** Amazon head bg **/
        if($this->config->get('amaz_head_bg')!='') { ?>
            #column-left .headForCols, #column-right .headForCols {
                background: <?php echo $this->config->get('amaz_head_bg'); ?>;
            }
        <?php } 
        /** Amazon head arrow **/
        if($this->config->get('amaz_head_arrow_color')!='') { ?>
            .headForCols .head-arrow {
                color: <?php echo $this->config->get('amaz_head_arrow_color'); ?> !important;
                border-left: 1px solid <?php echo $this->config->get('amaz_head_arrow_color'); ?> !important;
            }
        <?php } 
        /** Amazon head color **/
        if($this->config->get('amaz_head_color')!='') { ?>
            #column-left .headForCols, #column-right .headForCols {
                color: <?php echo $this->config->get('amaz_head_color'); ?>;
            }
        <?php } 
        /** Amazon menu bg **/
        if($this->config->get('amaz_menu_bg')!='') { ?>
            #column-left .navbar-inverse .navbar-inner, #column-right .navbar-inverse .navbar-inner, #column-left .dropdown-menu, #column-right .dropdown-menu {
                background: <?php echo $this->config->get('amaz_menu_bg'); ?>;
                background-color: <?php echo $this->config->get('amaz_menu_bg'); ?>;
            }
        <?php }
        if($this->config->get('amaz_menu_bg')!='') { ?>
            #column-left .navbar .nav > li > .dropdown-menu:after, #column-right .navbar .nav > li > .dropdown-menu:after {
                 border-right: 6px solid <?php echo $this->config->get('amaz_menu_bg'); ?>;
            }
        <?php } 
       
        /** Amazon menu border **/
        if($this->config->get('amaz_menu_border')!='') { ?>
            #column-left .navbar-inverse .navbar-inner, #column-right .navbar-inverse .navbar-inner {
                border-right: 1px solid <?php echo $this->config->get('amaz_menu_border'); ?>;
                border-left: 1px solid <?php echo $this->config->get('amaz_menu_border'); ?>;
                border-bottom: 1px solid <?php echo $this->config->get('amaz_menu_border'); ?>;
            }
        <?php } 
		/** Amazon links color **/
        if($this->config->get('amaz_link_color')!='') { ?>
            #column-left .navbar .nav > li > a, #column-right .navbar .nav > li > a, #column-left .mega-col-inner ul li a, #column-right .mega-col-inner ul li a, #column-left .dropdown-menu a .menu-title, #column-right .dropdown-menu a .menu-title {
                color: <?php echo $this->config->get('amaz_link_color'); ?>;
            }
        <?php }
        /** Amazon links color on hover**/
        if($this->config->get('amaz_link_color_hover')!='') { ?>
            #column-left .navbar .nav > li > a:hover span.menu-title, #column-right .navbar .nav > li > a:hover span.menu-title, #column-left .mega-col-inner ul li a:hover span.menu-title, #column-right .mega-col-inner ul li a:hover span.menu-title {
                color: <?php echo $this->config->get('amaz_link_color_hover'); ?>;
            }
        <?php }
		/** Amazon arrows color**/
        if($this->config->get('amaz_arrow_color')!='') { ?>
            #column-left .navbar-inverse .nav li.dropdown > .dropdown-toggle .caret, #column-right .navbar-inverse .nav li.dropdown > .dropdown-toggle .caret {
                border-left-color : <?php echo $this->config->get('amaz_arrow_color'); ?>;
                border-right-color : <?php echo $this->config->get('amaz_arrow_color'); ?>;
            }
        <?php }
		 /** Links Description color **/
        if($this->config->get('amaz_desc_color')!='') { ?>
            #column-left .menu-desc, #column-right .menu-desc, #column-left .dropdown-menu .menu-desc, #column-right .dropdown-menu .menu-desc {
                color: <?php echo $this->config->get('amaz_desc_color'); ?>;
            }
        <?php } 
        /** Category Internal title **/
        if($this->config->get('amaz_sub_title_color')!='') { ?>
            #column-left .megamenu .mega-group > a .menu-title, #column-right .megamenu .mega-group > a .menu-title {
                color: <?php echo $this->config->get('amaz_sub_title_color'); ?>;
            }
        <?php } 
        /**========================================================================================================================**/
        /*//////////////////////////////////////////////////////////////////////////////////////////////////////////////////// Box **/
		/**========================================================================================================================**/
        /** Box Heading background color **/
        if($this->config->get('heading_bg')!='') { ?>
            .box .box-heading, #column-left .box-heading, #column-right .box-heading, .realted-title, .product-filter, .tabs-head li a {
                background: <?php echo $this->config->get('heading_bg'); ?>;
            }
        <?php } 
        /** Box Heading border color and arrow **/
        if($this->config->get('heading_border_arrow')!='') { ?>
            #column-left .head-arrow, #column-right .head-arrow, .cmsBlock2 .head-arrow {
                color: <?php echo $this->config->get('heading_border_arrow'); ?>;
				border-left: 1px solid <?php echo $this->config->get('heading_border_arrow'); ?>;
            }
			.head-arrow {
				color: <?php echo $this->config->get('heading_border_arrow'); ?>;
			}
        <?php } 
        /** Box Heading Text color **/
        if($this->config->get('heading_color')!='') { ?>
            .box .box-heading, #column-left .box-heading, #column-right .box-heading, .realted-title, .product-filter, .tabs-head li a {
                color: <?php echo $this->config->get('heading_color'); ?>;
            }
        <?php } 
		/** Box bg **/
        if($this->config->get('box_bg')!='') { ?>
            .box .box-content {
                background: <?php echo $this->config->get('box_bg'); ?>;
            }
        <?php } 
		/** Box border **/
        if($this->config->get('box_border')!='') { ?>
            .box .box-content {
                border-left: 1px solid <?php echo $this->config->get('box_border'); ?>;
				border-right: 1px solid <?php echo $this->config->get('box_border'); ?>;
				border-bottom: 1px solid <?php echo $this->config->get('box_border'); ?>;
            }
			.box .box-heading {
				border: 1px solid <?php echo $this->config->get('box_border'); ?>;
			}
			#column-left .box-product > div + div, #column-right .box-product > div + div {
				border-top: 1px solid <?php echo $this->config->get('box_border'); ?>;
			}
        <?php } 
		
		/**=============================**/
		/** Latest products by category **/
		/**=============================**/
		
        /** Tabs Heading background color **/
        if($this->config->get('heading_tabs_bg')!='') { ?>
            .lpbc .box-heading {
                background: <?php echo $this->config->get('heading_tabs_bg'); ?>;
            }
        <?php } 
        /** Tabs Heading border color and arrow **/
        if($this->config->get('heading_tabs_border')!='') { ?>
            .lpbc .head-arrow {
                color: <?php echo $this->config->get('heading_tabs_border'); ?>;
            }
        <?php } 
        /** prodbcat title color **/
        if($this->config->get('prodbcat_title')!='') { ?>
            .lpbc .box-heading {
                color: <?php echo $this->config->get('prodbcat_title'); ?>;
            }
        <?php } 
		/** prodbcat bg **/
        if($this->config->get('prodbcat_box_bg')!='') { ?>
            .lpbc .box-content {
                background: <?php echo $this->config->get('prodbcat_box_bg'); ?>;
            }
        <?php } 
		/** prodbcat box border **/
        if($this->config->get('prodbcat_box_border')!='') { ?>
            .lpbc .box-content {
                border-left: 1px solid <?php echo $this->config->get('prodbcat_box_border'); ?>;
				border-right: 1px solid <?php echo $this->config->get('prodbcat_box_border'); ?>;
				border-bottom: 1px solid <?php echo $this->config->get('prodbcat_box_border'); ?>;
            }
			.lpbc .box-heading {
				border: 1px solid <?php echo $this->config->get('prodbcat_box_border'); ?>;
			}
        <?php } 
        /** prodbcat tab bg **/
        if($this->config->get('prodbcat_tab_bg')!='') { ?>
            .nav > li > a:hover, .nav > li > a:focus {
                background-color: <?php echo $this->config->get('prodbcat_tab_bg'); ?>;
            }
        <?php } 
        /** prodbcat tab selected **/
        if($this->config->get('prodbcat_tab_bg_select')!='') { ?>
            .nav-tabs > .active > a, .nav-tabs > .active > a:hover, .nav-tabs > .active > a:focus {
                background-color: <?php echo $this->config->get('prodbcat_tab_bg_select'); ?>;
            }
        <?php } 
        /** prodbcat tab link coloe **/
        if($this->config->get('prodbcat_tab_link')!='') { ?>
            .nav-tabs > li > a, .nav-tabs > .active > a, .nav-tabs > .active > a:hover, .nav-tabs > .active > a:focus {
                color: <?php echo $this->config->get('prodbcat_tab_link'); ?>;
            }
        <?php } 
        /**========================================================================================================================**/
        /*//////////////////////////////////////////////////////////////////////////////////////////////////////////////// Product **/
		/**========================================================================================================================**/
        /** product box bg **/
        if($this->config->get('product_box_bg')!='') { ?>
            .box-product > div, .product-grid > div, .product-list > div {
                background: <?php echo $this->config->get('product_box_bg'); ?>;
            }
        <?php } 
		/** product cart bg **/
        if($this->config->get('product_cart_bg')!='') { ?>
            ul.cart {
                background: <?php echo $this->config->get('product_cart_bg'); ?>;
            }
        <?php }
		/** product cart border **/
        if($this->config->get('product_cart_border')!='') { ?>
            ul.cart {
				border: 1px solid <?php echo $this->config->get('product_cart_border'); ?>;
            }
			ul.cart li + li {
				border-left: 1px solid <?php echo $this->config->get('product_cart_border'); ?>;
			}
        <?php }
		/** product cart color **/
        if($this->config->get('product_cart_color')!='') { ?>
            ul.cart li a, ul.cart li input {
                color: <?php echo $this->config->get('product_cart_color'); ?>;
            }
        <?php }
        /** Sale bg **/
        if($this->config->get('sale_bg')!='') { ?>
            .sale {
                background: <?php echo $this->config->get('sale_bg'); ?>;
            }
        <?php } 
        /** Price color **/
        if($this->config->get('price_color')!='') { ?>
            .price, .price-new {
                color: <?php echo $this->config->get('price_color'); ?> !important;
            }
        <?php }
        /** Old Price color **/
        if($this->config->get('other_oldprice_color')!='') { ?>
            .price-old {
                color: <?php echo $this->config->get('other_oldprice_color'); ?> !important;
            }
        <?php } 
        /** Product name **/
        if($this->config->get('product_name_color')!='') { ?>
            .name a, .product-grid .name a, .product-list .name a, .box-product .name a {
                color: <?php echo $this->config->get('product_name_color'); ?> !important;
            }
        <?php } 
		/**========================================================================================================================**/
        /*///////////////////////////////////////////////////////////////////////////////////////////////////////////// Newsletter **/
		/**========================================================================================================================**/
		if($this->config->get('newsletter_bg_box')!='') { ?>
            .newsletterWidget {
                background-color: <?php echo $this->config->get('newsletter_bg_box'); ?>;
            }
        <?php } 
        /**========================================================================================================================**/
        /*//////////////////////////////////////////////////////////////////////////////////////////////////////////////// General **/
		/**========================================================================================================================**/
        /** Titles (h1, h2, h3, h4, h5, h6) **/
        if($this->config->get('title_color')!='') { ?>
            .heading h1, .checkout-heading, table.list thead td, h1, h2, h3, h4, h5, h6  {
                color: <?php echo $this->config->get('title_color'); ?> !important;
            }
        <?php } 
        /** Body text color **/
        if($this->config->get('bodytext_color')!='') { ?>
            body, #maincontent a, #maincontent a:visited, a.backtotop, #cart .content a, .contentset {
                color: <?php echo $this->config->get('bodytext_color'); ?>;
            }
        <?php } 
        /** Other Links **/
        if($this->config->get('links_color')!='') { ?>
            a, .breadcrumb a + a, a:visited, a b, .mi-slider nav a:hover, .mi-slider nav a.mi-selected {
                color: <?php echo $this->config->get('links_color'); ?>;
            }
        <?php } 
		/**========================================================================================================================**/
        /*///////////////////////////////////////////////////////////////////////////////////////////////////////////////// Footer **/
        /**========================================================================================================================**/
        /** Footer BG **/
        if($this->config->get('footer_bg')!='') { ?>
            .footer-bg {
                background: <?php echo $this->config->get('footer_bg'); ?> !important;
            }
        <?php } 
        /** Footer Bottom BG **/
        if($this->config->get('footer_bottom_bg')!='') { ?>
            footer {
                background: <?php echo $this->config->get('footer_bottom_bg'); ?> !important;
            }
        <?php } 
        /** Footer Headers Text color **/
        if($this->config->get('footerheaders_color')!='') { ?>
            footer h3, .about h3 {
                color: <?php echo $this->config->get('footerheaders_color'); ?> !important;
            }
        <?php } 
        /** Footer widgets Headers Text color **/
        if($this->config->get('footerheaderswid_color')!='') { ?>
            h3.widgetsTitle {
                color: <?php echo $this->config->get('footerheaderswid_color'); ?> !important;
            }
        <?php } 
        /** Footer widgets Headers Text bg **/
        if($this->config->get('footerheaderswid_bg')!='') { ?>
            h3.widgetsTitle {
                background: <?php echo $this->config->get('footerheaderswid_bg'); ?>;
            }
        <?php } 
        /** Footer widgets Headers Text border **/
        if($this->config->get('footerheaderswid_border')!='') { ?>
            h3.widgetsTitle {
                border-bottom: 3px solid <?php echo $this->config->get('footerheaderswid_border'); ?>;
            }
        <?php } 
        /** Footer first border color **/
        if($this->config->get('first_border_color')!='') { ?>
            .about h3 {
                border-bottom: 1px solid <?php echo $this->config->get('first_border_color'); ?>;
            }
            hr {
                border-top: 1px solid <?php echo $this->config->get('first_border_color'); ?>;
            }
        <?php } 
        /** Footer second border color **/
        if($this->config->get('second_border_color')!='') { ?>
            hr {
                border-bottom: 1px solid <?php echo $this->config->get('second_border_color'); ?>;
            }
        <?php } 
        /** Footer info text color **/
        if($this->config->get('footer_info_color')!='') { ?>
            .footer-bg, .about, .shipping{
                color: <?php echo $this->config->get('footer_info_color'); ?> !important;
            }
        <?php } 
        /** Footer Links Text color **/
        if($this->config->get('footerlinks_color')!='') { ?>
            footer a, .footer-bg a, .tweet_list li a {
                color: <?php echo $this->config->get('footerlinks_color'); ?> !important;
            }
        <?php } 

/********************************************
*********************************************

                Buttons

*********************************************
********************************************/		
        
        /** add to cart details **/
        if($this->config->get('details_addtocart')!='') { ?>
             .product-info .cart input {
                background: <?php echo $this->config->get('details_addtocart'); ?>;
            }
        <?php }
        /** add to cart details : hover **/
        if($this->config->get('details_addtocart_hover')!='') { ?>
             .product-info .cart input:hover {
                background: <?php echo $this->config->get('details_addtocart_hover'); ?>;
            }
        <?php }
        /** button text details color **/
        if($this->config->get('details_button_color')!='') { ?>
            .product-info .cart input{
                color: <?php echo $this->config->get('details_button_color'); ?>;
            }
        <?php } 
        /** All other buttons **/
        if($this->config->get('all_addtocart')!='') { ?>
             a.button, .cart input, a.ch, a.ca, .sub-menu .button, input.button {
                background: <?php echo $this->config->get('all_addtocart'); ?>;
            }
        <?php }
        /** All other buttons : hover **/
        if($this->config->get('all_addtocart_hover')!='') { ?>
            a.button:hover, .cart input:hover, a.ch:hover, a.ca:hover, .sub-menu .button:hover, input.button:hover {
                background: <?php echo $this->config->get('all_addtocart_hover'); ?>;
            }
        <?php }
        /** All other buttons text color **/
        if($this->config->get('all_buttons_color')!='') { ?>
            input.button, a.button, a.ch, a.ca, .sub-menu .button, input.button {
                color: <?php echo $this->config->get('all_buttons_color'); ?> !important;
            }
        <?php } 
            
/********************************************
*********************************************

                Fonts

*********************************************
********************************************/
        /** Body Fonts **/
        if ($this->config->get('body_font') != '' ) { ?>
        body, p, .mod a { font-family:'<?php echo $this->config->get('body_font_family'); ?>', Tahoma, Geneva, sans-serif; 
        font-size: <?php echo $this->config->get('body_font_size'); ?>px !important;
        }
        <?php } 
        /** Title Fonts **/
        if($this->config->get('title_font')!='') { ?>
        h1, h2, h3, h4, .contentset, legend, .checkout-heading, .welcome {
            font-family:'<?php echo $this->config->get('title_font_family'); ?>', Tahoma, Geneva, sans-serif;
            font-size: <?php echo $this->config->get('title_font_size'); ?>px !important;
        }
        <?php }
        /** Button Fonts **/
        if ($this->config->get('button_font') != '') { ?>
        input, input.button, a.button, .button {
            font-family:'<?php echo $this->config->get('button_font_family'); ?>', Tahoma, Geneva, sans-serif;
            font-size: <?php echo $this->config->get('button_font_size'); ?>px !important;
        }
        <?php }
        /** category Fonts **/
        if ($this->config->get('category_font') != '') { ?>
         ul.mega-category li a, ul.mega-category li .sub-sub-menu ul li.heading-sub a {
            font-family:'<?php echo $this->config->get('category_font_family'); ?>', Tahoma, Geneva, sans-serif;
            font-size: <?php echo $this->config->get('category_font_size'); ?>px !important;
        }
        <?php }
        /** menu Fonts **/
        if ($this->config->get('menu_font') != '') { ?>
         .top-menu ul li, .top-menu ul li a {
            font-family:'<?php echo $this->config->get('menu_font_family'); ?>', Tahoma, Geneva, sans-serif;
            font-size: <?php echo $this->config->get('menu_font_size'); ?>px !important;
        }
        <?php }
        /** product Fonts **/
        if ($this->config->get('product_font') != '') { ?>
         .box-product .name a {
            font-family:'<?php echo $this->config->get('product_font_family'); ?>', Tahoma, Geneva, sans-serif;
            font-size: <?php echo $this->config->get('product_font_size'); ?>px !important;
        }
        <?php }
        /** price Fonts **/
        if ($this->config->get('price_font') != '') { ?>
         .box-product .price {
            font-family:'<?php echo $this->config->get('price_font_family'); ?>', Tahoma, Geneva, sans-serif !important;
            font-size: <?php echo $this->config->get('price_font_size'); ?>px !important;
        }
        <?php }
        /** boxheading Fonts **/
        if ($this->config->get('boxheading_font') != '') { ?>
        .box-heading, h2.cat-title, .headForCols {
            font-family:'<?php echo $this->config->get('boxheading_font_family'); ?>', Tahoma, Geneva, sans-serif !important;
            font-size: <?php echo $this->config->get('boxheading_font_size'); ?>px !important;
        }
        <?php }
        
        /*IF CUSTOM CSS SO GOES HERE*/
        if ($this->config->get('custom_css') != '')  ?>
            <?php echo $this->config->get('custom_css'); ?>
        <?php 
		?>
		
		 /*IF CUSTOM CSS SALE Price */
          <?php  
          if ($this->config->get('percentage_sale_price') == '0'){ ?>
               .sale.radius{
               	display: none;
               }
          <?php 
        }
        ?>
    </style>
<?php } ?>
<!--**************************************************************************************************************-->
<!--=========================================================== THEME OPTIONS END HERE ===========================-->
<!--**************************************************************************************************************-->